﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.PresentationFramework.ApplicationModel;
using XWord.Fundamental.Domain;
using Caliburn.Core.Metadata;

namespace XWord.GUI.Presenters
{
    public interface IWordFinderPresenter : IPresenter
    {
        IList<Word> WordItems { get; set; }
    }
    [PerRequest(typeof(IWordFinderPresenter))]
    public class WordFinderPresenter : Presenter, IWordFinderPresenter
    {
        public void Search()
        {

        }
        private IList<Word> _wordItems;
        public IList<Word> WordItems
        {
            get { return _wordItems; }
            set
            {
                _wordItems = value;
                NotifyOfPropertyChange("WordItems");
            }
        }
    }
}
